package com.szrt.java.day20161226.demo05;

public class TriDemo {
	
	
	public static void main(String[] args) {
		
		printStar(5,10);
		
	}
	
	
	public static void printStar(int begin,int counter){
		for(int outer=begin;outer<=counter;outer++){
			//1 先打星星
			for(int inner=1;inner<=outer;inner++){
				System.out.print("*");
			}
			//2 再打回车
			System.out.println();
		}
	}

}
